
import br.com.hibernate.entidades.Colaborador;
import br.com.hibernate.utils.MysqlHelper;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author ricardo
 */
public class TesteRicardo {
    public static void main(String[] args) {
//        Colaborador c = (Colaborador) MysqlHelper.getObject(Colaborador.class, "RICARDOBR");
//        System.out.println(c.getColStNome() + " " + c.getColBlAtivo());
        Colaborador co = MysqlHelper.getColaborador("RICARDOBR", "ABCD1234");
        System.out.println(co.getColStNome()); 
    }
}
